git-pthread_symbols
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Wed, 22 Jan 2025 22:57:51 +0000 (23:57 +0100)
commitb302ab1a4a5e0f90678d37e0612d7b2ffa6580cf
treedb8313be0ae6780fad00b6782dcabbccffd9f0b2
parenta8cc5ba40fb0b7bf8757908952cf8248cc4bd8b0
git-pthread_symbols

commit 8dc3f4f8adcfbc991b1677464dd7cd485f4e6d85
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Jul 17 02:03:13 2024 +0200

    hurd: Fix missing pthread_ compat symbol in libc

    5476f8cd2e68 ("htl: move pthread_self info libc.") and
    9dfa2562162b ("htl: move pthread_equal into libc") to
    1dc0bc8f0748 ("htl: move pthread_attr_setdetachstate into libc")
    moved some pthread_ symbols from libpthread.so to libc.so, but missed
    adding the compat version like 5476f8cd2e68 ("htl: move pthread_self
    info libc.") did: libc already had these symbols as forwards,
    but versioned GLIBC_2.21, while the symbols in libpthread.so were
    versioned GLIBC_2.12.

    To fix running executables built before this, we thus have to add the
    GLIBC_2.12 version, otherwise execution fails with e.g.

    /usr/lib/i386-gnu/libglib-2.0.so: symbol lookup error: /usr/lib/i386-gnu/libglib-2.0.so: undefined symbol: pthread_attr_setinheritsched, version GLIBC_2.12

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-pthread_symbols.diff
12 files changed:
htl/Versions
sysdeps/htl/pt-attr-getdetachstate.c
sysdeps/htl/pt-attr-getinheritsched.c
sysdeps/htl/pt-attr-getschedparam.c
sysdeps/htl/pt-attr-getschedpolicy.c
sysdeps/htl/pt-attr-setdetachstate.c
sysdeps/htl/pt-attr-setinheritsched.c
sysdeps/htl/pt-attr-setschedpolicy.c
sysdeps/htl/pt-equal.c
sysdeps/htl/pt-getschedparam.c
sysdeps/htl/pt-setschedparam.c
sysdeps/mach/hurd/i386/libc.abilist